using UnityEngine;
using Voodoo.Sauce.Core;
using Voodoo.Sauce.Internal.IAP;

namespace Voodoo.Sauce.Internal
{
	internal static class VoodooSuperPremium
	{
		private static bool _isSuperPremium;

		private static bool _isDebugBuild;

		internal static bool IsSuperPremium()
		{
			if (_isSuperPremium)
			{
				return _isDebugBuild;
			}
			return false;
		}

		internal static void Initialize(VoodooSettings settings)
		{
			_isSuperPremium = settings.EnableSuperPremiumMode;
			_isDebugBuild = Debug.isDebugBuild;
			if (IsSuperPremium() && !VoodooPremium.IsPremium())
			{
				VoodooPremium.SetEnabledPremium();
			}
		}
	}
}
